package edu.sctu.practice.class02.shuqiqi.test22;

/**
 * Created by admin on 2015/11/12.
 */
public  class Door extends AllDoor {
    public  void process(){
      theftproof();
        waterproof();
        bulletproof();
    }
    public void theftproof(){
        System.out.println("可以防盗");
    }
    public void waterproof(){
        System.out.println("可以防水");
    }
    public void bulletproof(){
        System.out.println("可以防弹");
    }

    @Override
    public void openDoor() {
        System.out.println("可以开门");

    }

    @Override
    public void closeDoor() {
        System.out.println("可以关门");

    }
}
